package com.fly.springbootTemplate.service;

import com.fly.springbootTemplate.entity.StudentCourse;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StudentCourseService {
    //增加课程
    public boolean addCourse(StudentCourse studentCourse);
    //删除课程
    public boolean deleteCourse(String courseId);
    //修改课程
    public boolean updateCourse(StudentCourse studentCourse);
    //查询课程
    List<StudentCourse> getAllCourse();
    //根据id进行查询课程
    StudentCourse getCourseById(String courseId);
}
